home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19980424-19980901
/
000065_news@newsmaster….columbia.edu _Mon May 11 01:10:44 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id BAA13352
for <kermit.misc@watsun.cc.columbia.edu>; Mon, 11 May 1998 01:10:44 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id BAA09755
for kermit.misc@watsun; Mon, 11 May 1998 01:10:43 -0400 (EDT)
Path: news.columbia.edu!panix!nntprelay.mathworks.com!newsfeed.internetmci.com!207.103.147.20!news.voicenet.com!news2.voicenet.com.POSTED!not-for-mail
From: cmosley@voicenet.com (Christopher Mosley)
Subject: Re: Gnu ls and ansi color
Newsgroups: comp.protocols.kermit.misc
References: <mko51.78$%T6.1215229@news3.voicenet.com> <6j5oug$hfn$1@apakabar.cc.columbia.edu>
X-Newsreader: TIN [version 1.2 PL2]
Lines: 59
Message-ID: <0lv51.114$h05.1551509@news2.voicenet.com>
Date: Mon, 11 May 1998 04:42:36 GMT
NNTP-Posting-Host: omni2.voicenet.com
NNTP-Posting-Date: Mon, 11 May 1998 00:42:36 EST
Xref: news.columbia.edu comp.protocols.kermit.misc:8717
Jeffrey Altman (jaltman@watsun.cc.columbia.edu) wrote:
: In article <mko51.78$%T6.1215229@news3.voicenet.com>,
: Christopher Mosley <cmosley@voicenet.com> wrote:
: :
: :
: : Gnu "ls" was presumably written to be used with vt terminal/emulation or
: : something similar and two of the default term types assumed by the "ls"
: : configuration utility ("dircolors") _are_ vt100 and xterm? I know nothing
: : of ansi or vt standards?/conventions? (I don't think it would be a formal
: : standard, afterall a vt100 is not really a color terminal) and am wondering
: : why this _apparent_ discrepancy exists.
: What terminal type are you specifying on your host?
: You are most likely seeing a combination of two completely separate
: factors:
: (1) the VT color palette which was defined by the VT340 terminal is
: different from the color palette used by "ANSI" terminals such
: as SCO ANSI and AT386. The VT color palette is used by the
: Linux console.
: (2) The escape sequences sent when SCOANSI is the current terminal
: type are different from those that are sent when the terminal
: type is either VT320 or LINUX.
: Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
: The Kermit Project * Columbia University
: 612 West 115th St #716 * New York, NY * 10025
: http://www.kermit-project.org/k95.html * kermit-support@kermit-project.org
I realize now what the problem was, I had forgotten that I had added some
lines to my vt220 TERM info: setab=... setaf=... (set ansi foreground &
backround) op=... to allow colors to work in ncurses lynx. This version
of lynx only implements color if it explicitly defined in the TERM such as
an xterm-color TERM, unlike slang lynx. These changes did odd things to the
colors using gnu "ls" in mskermit vt emulation but were ok when mskermit
was set to ansi-bbs emulation.
Yes, the difference in the way vt220 emulation and ansi-bbs display ansi
images is just the difference in the ansi and vt color pallettes and had
nothing to do with the "ls" problem.
Now the colors in "ls" are correct and the same in both mskermit ansi-bbs or
vt220 emulation.
Thanks